#!/usr/bin/env python
# -*- coding: utf-8 -*-
#

import unittest

from jute.db import Row, ColumnFamily, Column

class   RowTestCase(unittest.TestCase) :
    def setUp(self) :
        pass
        ## setUp()

    def tearDown(self) :
        pass
        ## tearDown()

    def testSimple(self) :
        row = Row('table1', 'key1')
        row_serialized = Row.Serializer.serialize(row)
        row_back = Row.Serializer.deserialize( row_serialized )
        self.assertEqual(row, row_back)
        ## testSimple()

    ## class RowTestCase


if __name__ == '__main__' :
    unittest.main()

